<%--
  Created by IntelliJ IDEA.
  User: mayn
  Date: 2019/6/18
  Time: 16:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登陆</title>
    <style type="text/css">
        #container {
            width: 100%;
            height: 600px;
            position: relative;
        / / background-color: #6cac46;
        }

        #container #content {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 50%;
            height: 30%;
            margin-left: -25%;
            margin-top: -8%;
        / / background-color: #6666ff;
        }

        #container #content table {
            text-align: center;
            vertical-align: center;
            border: 1px solid #ffffff;
            margin: 0 auto;
        / / background-color: yellow;
        }

        h2 {
            text-align: center;
            background-color: darkcyan;
            color: white;
        }

    </style>
</head>

<body>
<h2>用户登陆</h2>
<div id="container">
    <div id="content">
        <form action="${pageContext.request.contextPath}/login.action" method="post">
            <table cellspacing="0" cellpadding="10px">
                <tr>
                    <td>
                        用户名：
                    </td>
                    <td>
                        <input type="text" name="userName">
                    </td>
                </tr>
                <tr>
                    <td>
                        密码：
                    </td>
                    <td>
                        <input type="password" name="password">
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" value="登陆">
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>


</body>
</html>
